package indi.liangli.discovery;

import java.util.List;
import java.util.Random;

public class RandomLoadBanlanceImpl extends AbstractLoadBanlance {




    @Override
    public String doSelect(List<String> serviceAddress) {
        Random random = new Random();
        int i = random.nextInt(serviceAddress.size());
        return serviceAddress.get(i);
    }
}
